<template>
  <div v-if="visible" style="width:100px;height:100px;background-color:red">
    aa
    <br>
    <button @click="$emit('update:visible',false)"> 关闭 </button>
  </div>
</template>

<script>
export default {
  name: 'VueAdminTemplateMasterDia',
  props: {
    visible: {
      default: false,
      type: Boolean
    }
  },
  data() {
    return {

    }
  },

  mounted() {

  },

  methods: {

  }
}
</script>

<style lang="scss" scoped>

</style>
